<!--
 * @Author: tanlijun 2060803224@qq.com
 * @Date: 2022-11-14 21:46:43
 * @LastEditors: tanlijun 2060803224@qq.com
 * @LastEditTime: 2022-11-14 21:57:45
 * @FilePath: \js基础\js基础第三天\code\打印倒三角形星星.html
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  


  <script>
    // 外层执行
    for (i = 1;i <= 5;i++){
      // 内层执行
      for(j = 1;j <= i;j++){
        document.write(`☆`)
      }
      document.write(`</br>`)
    }
  </script>
</body>
</html>